import request from '../request.js'
export default{
	applyLoan(data){
		return request({
			url:"/loan/loan/applyLoan",
			method:"POST",
			data
		})
	},
	applyQuota(data){
		return request({
			url:"/loan/quota/applyQuota",
			method:"POST",
			data
		})
	},
	applyQuotaUp(data){
		return request({
			url:"/loan/quota/applyQuotaUp",
			method:"POST",
			data
		})
	},
	getQuota(data){
		return request({
			url:"/loan/quota/getQuota",
			method:"POST",
			data
		})
	},
	repayment(data){
		return request({
			url:"/loan/repayment/repayment",
			method:"POST",
			data
		})
	},
	getRepayment(data){
		return request({
			url:"/loan/repayment/repayment/{userId}",
			data
		})
	}
}